import Http from '@/axios';

export default class WebScoketApi {
    public static getChatId() {
        return Http.get(this.handleUrl('chat_id'));
    }

    private static handleUrl(relativeUrl: string) {
        return 'api/ws/' + relativeUrl;
    }
}
